﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyWindowsMediaPlayer.Models.Library
{
	public class LibraryDatabase
	{
		public static LibraryModel[ ] InitData ( )
		{
			return new LibraryModel[ ]{
				new LibraryModel(){ Name = "Musiques",
										Choice = (int)MediaChoice.Music},
				new LibraryModel() { Name = "Films",
										Choice = (int)MediaChoice.Movie},
				new LibraryModel() { Name = "Images",
										Choice = (int)MediaChoice.Picture},
			};
		}

		public static LibraryModel[ ] initSubElem ( LibraryModel item )
		{
			if (item.Name == "Musiques")
				return new LibraryModel[ ]{
					new LibraryModel(){ Name = "Artistes",  Choice = (int)MediaChoice.Music },
					new LibraryModel(){ Name = "Genres", Choice = (int)MediaChoice.Music },
					new LibraryModel(){ Name = "Album", Choice = (int)MediaChoice.Music}
				};
			return null;
		}
	}
	
}
